<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vans弹出</title>
    <link rel="stylesheet" href="../../css/index.css">
    <script src="../../js/vue2.6.js"></script>
    <script src="../../js/vant2.12.js"></script>
</head>
<body>
<div id="app">
    <van-cell is-link @click="showPopup">展示弹出层</van-cell>
    <van-popup v-model="show" round position="top" :style="{ height: '30%' }" >内容</van-popup>
</div>
<script>
    new Vue({
        el: '#app',
        data() {
            return {
                show: false,
            };
        },
        methods: {
            showPopup() {
                this.show = true;
            },
        }
    });
    Vue.use(vant.Calendar);
</script>
</body>
</html>